package com.xiaoming.backend.dao.mapper;

import com.xiaoming.backend.entity.db.po.OrderInfoPO;
import com.xiaoming.backend.entity.db.po.TaskInfoPO;
import com.xiaoming.backend.entity.db.po.WareHouseInfoPO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OthserMapper {
    List<OrderInfoPO> getOrderInfo(@Param("disposqlUserId")Long disposqlUserId, @Param("crtdUserId")Long crtdUserId,
                                   @Param("status")String status, @Param("startFacilityId")Long startFacilityId, @Param("endFacilityId")Long endFacilityId,
                                   @Param("disposqlStartDate") Date disposqlStartDate, @Param("disposqlEndDate")Date disposqlEndDate,
                                   @Param("crtdStartDate")Date crtdStartDate, @Param("crtdEndDate")Date crtdEndDate);

    List<TaskInfoPO> getTaskInfo(@Param("driverId")Long driverId, @Param("flag")int flag, @Param("status")String status, @Param("facilityId")Long facilityId);

    List<WareHouseInfoPO> getWareHouseInfo(@Param("facilityId")Long facilityId);
}
